package entity;

import java.sql.Date;
import java.util.Vector;

public class ProjectPersonnelTable {
    private Integer projectPersonnelID;

    private Integer projectID;
    private Integer personnelID;
    private String role;
    private Date startDate;
    private Date endDate;

    public Integer getProjectPersonnelID() {
        return projectPersonnelID;
    }

    public void setProjectPersonnelID(Integer projectPersonnelID) {
        this.projectPersonnelID = projectPersonnelID;
    }

    public Integer getProjectID() {
        return projectID;
    }

    public void setProjectID(int projectID) {
        this.projectID = projectID;
    }

    public int getPersonnelID() {
        return personnelID;
    }

    public void setPersonnelID(int personnelID) {
        this.personnelID = personnelID;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Vector<Object> getAllAttributes() {
        Vector<Object> attributes = new Vector<>();

//        attributes.add(projectPersonnelID);
        attributes.add(projectID);
        attributes.add(personnelID);
        attributes.add(role);
        attributes.add(startDate);
        attributes.add(endDate);
        return attributes;
    }
}
